package edu.sctu.fengleilin.month05.day150518;

/**
* Created by user09 on 2015/5/17.
*/
//public class TextOne extends TextMore {
//
//    Student[] studentscore = new Student[teacher[0].students.length];
//    Student[] studentscore1 = new Student[teacher[1].students.length];
//
//    public TextOne(Teacher[] teacher) {
//        super(teacher);
//    }
//
//
//
//    public void getTercherInfo(){
//
//        sortNumber();
//        System.out.println(teacher[0].number + ":" + teacher[1].number);
//    }
//
//
//    public Student[] getStudent(int code, Student[] student){
//        Student[] students = teacher[0].students;
//        Student[] students1 = teacher[1].students;
//        sortStudent(students);
//        sortStudent(students1);
//
//        int k=0;
//        for (int i = 0; i < students.length;i ++){
//            if (students[i].score > code){
//                studentscore[k] = students[i];
//            }
//        }
//        for (int j = 0;j < students1.length;j ++){
//            if (students1[j].score > code){
//                studentscore1[k+3] = students1[j];
//            }
//        }
//        if (studentscore!=null){
//            System.out.println(studentscore[k]);
//        }
//
//        return studentscore;
//    }
//    public Student[] getCode(){
//        Teacher teacher = pritCoded();
//        Student[] studentnumber = interFace.getStudents(teacher.students);
//
//        return studentnumber;
//    }
//
//    TextInterface interFace = new TextInterface() {
//        @Override
//        public Student[] getStudents(Student[] student) {
//
//            Student[] studentnumber = getStudent(60,student);
//
//            return studentnumber;
//        }
//    };
//    public void getCourse(){
//    TextCourse textCourse = new TextCourse();
//        for (String student : textCourse.students) {
//
//        }
//
//    }
//}

////        TexMain 里面有三个方法 getTercherInfo() 对老师学号排序后输出老师信息，getStudent(int code)处理学生成绩
////        排序后的成绩大于coed的学生。getCode()判断职称为教授的学生有哪些，并调用接口判断学生成绩大于code的学生，判断调用
////        getStudent(int code)方法。
